export default {
  state: {
    feedbackList: [],
    originalFeedbackList: []
  },
  mutations: {
    SET_FEEDBACK_LIST(state, list) {
      state.feedbackList = list
    },
    SET_ORIGINAL_FEEDBACK_LIST(state, list) {
      state.originalFeedbackList = list
    }
  },
  actions: {
    saveFeedbackList({ commit }, list) {
      commit('SET_FEEDBACK_LIST', list)
      commit('SET_ORIGINAL_FEEDBACK_LIST', list)
    }
  }
} 